﻿using MediatR;
using T.Basic.Domain.T.Basic.Dto;
using T.Basic.Domain.T.Basic.Model;

namespace T.Basic.Read.API.Appliction.Command.CargoOwnerCommand
{
    /// <summary>
    /// 显示货主信息
    /// </summary>
    public class CargoOwnerListCommand: IRequest<PageDto<CargoOwner>>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        public string? CompanyID { get; set; }
        /// <summary>
        /// 货主姓名
        /// </summary>
        public string? CargoOwnerName { get; set; }
        /// <summary>
        /// 货主手机号
        /// </summary>
        public string? CargoOwnerPhone { get; set; }
        /// <summary>
        /// 驾驶证有效日期
        /// </summary>
        public DateTime? DriverLicenseDate { get; set; }

        /// <summary>
        /// 索引页
        /// </summary>
        public int? PageIndex { get; set; }
        /// <summary>
        /// 每页显示条数
        /// </summary>
        public int? PageSize { get; set; }
    }
}
